﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ImportCustomerLibrary.aspx.cs"
    Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Quan tri he thong</title>
    <link rel="stylesheet" href="assets/css/reset.css" type="text/css" />
    <link rel="stylesheet" href="assets/css/styleexpress.css" type="text/css" />
    <link rel="stylesheet" href="assets/css/invalid.css" type="text/css" media="screen" />
    <script src="assets/js/Admin_002.js" type="text/javascript"></script>
    <script src="assets/js/Admin.js" type="text/javascript"></script>
    <script src="assets/js/jquery.js" type="text/javascript"></script>
    <script type='text/javascript' src="assets/js/common.js"></script>
    <script type="text/javascript">
        function ReloadOpener() {
            window.opener.location.href = 'CustomerLibrary.aspx'
            window.close();
        }
    </script>
</head>
<body>
    <div id="body-wrapper">
        <div id="main-content" style="width: 90%;">
            <div class="">
            </div>
            <h2>
                Import danh sách khách hàng</h2>
            <div class="clear">
            </div>
            <div class="content-box">
                <form id="frmEdit" runat="server">
                <div class="content-box-header">
                    <h3 style="cursor: s-resize;">
                        Import danh sách khách hàng: <em>(file mẫu: <a href="import/sample/CustLibrarySampleImport.xlsx">
                            Download</a>) </em>
                    </h3>
                    <div class="clear">
                    </div>
                </div>
                <fieldset class="adminform">
                    <table class="paramlist admintable" width="100%">
                        <tr>
                            <td style="font-weight: bold; font-size: 10pt; width: 171px; color: #444; font-family: Arial"
                                align="left" width="171">
                                <input id="txtfileUpLoad" type="file" size="26" name="txtfileUpLoad" runat="server">
                            </td>
                        </tr>
                        <tr>
                            <td align="left">
                                <asp:Label ID="importstatus" runat="server" Font-Size="XX-Small" Font-Names="Arial"
                                    Font-Bold="True" ForeColor="Red"></asp:Label>
                            </td>
                        </tr>
                    </table>
                </fieldset>
                <div class="clear">
                </div>
                <div style="margin-top: 5px; width: 100%">
                    <input type="button" id="Exit" value="Exit" class="button" onclick="ReloadOpener();" />&nbsp;&nbsp;
                    <asp:Button ID="btnSub" runat="server" class="button" Text="Import" OnClick="SubmitImport_Click">
                    </asp:Button>
                </div>
                </form>
            </div>
            <div class="clear">
            </div>
            <div style="font-size: 12px; font-weight: bold; color: Red;line-height">
                <% Response.Write(strMess); %>
            </div>
        </div>
    </div>
</body>
</html>
